package com.stormrage.constants;

/**
 * @author www.stormragetech.comm
 * @date 2016年1月11日
 * @version 1.0.0
 */
public class Constants {

	public static final String CURRENT_USER = "user";

	public static final Integer TEST = 1;

	// ------------------------------ Message ------------------------------

	public static final String MSG_RETURN_MESSAGE = "return_message";
	public static final String MSG_PAGE_TOTAL = "page_total";
	public static final String MSG_DATA = "data";
	public static final String MSG_TOTAL = "total";
	public static final String MSG_RETURN_CODE = "return_code";

	// ------------------------------ 生成密码 ------------------------------
	public static final String SECR_METH = "md5";
	public static final Integer SECR_TIME = 2;

	// ------------------------------ 上传图片地址 ------------------------------
	public static final String IMG_PATH = "localhost:8080/upload/static/images";
	public static final String VID_PATH = "localhost:8080/upload/static/videos";
	public static final String EXL_PATH = "localhost:8080/upload/static/excel";
	public static final String TRL_PATH = "localhost:8080/upload/static/trial";

	// ------------------------------ 上传图片地址 ------------------------------
	public static final String DATE_FORMAT_DAY = "yyyy-MM-dd";
	public static final String DATE_FORMAT_TIME = "yyyy-MM-dd hh:mm:ss";

}
